package io.renren.modules.evaluate.controller;

import io.renren.common.utils.R;
import io.renren.modules.evaluate.util.LinearScale;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
public class AlogController {

    @PutMapping("/alog/guiyi")
    @ApiOperation("归一化算法")
    public double[] guiyi(){
        double[]b = LinearScale.readxls();
        System.out.println(Arrays.toString(b));
        return b;
    }
}
